<?php global $tpinfo;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset');?>" />
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><!-- leave this for stats -->
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />	<!--[if IE 7]>	<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/includes/css/ie7.css" type="text/css" media="screen" charset="utf-8" />	<![endif]-->
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<?php wp_get_archives('type=yearly&format=link'); ?>
	<title>
		<?php 
			wp_title(' &raquo; ',true,'right');
			bloginfo('name'); 
			if(is_home() && !is_paged()) { echo ' &raquo; '; bloginfo('description'); }
			echo (is_paged() && $paged>1)? " &raquo; Page $paged":"";
		?>
	</title>
	<?php 
		wp_enqueue_script('jquery');
		if(is_singular()){ 
			wp_enqueue_script('comment-reply');
		}
		wp_head(); 
	?>
</head>
<body <?php body_class();?>>
<div id="bg_top"><div id="bg_btm"><div id="base">
	<div id="header">
		<?php 
			$tmp=(is_single() || is_page())? "div":"h1";
			$tmp2=($tpinfo[$tpinfo['tb_prefix'].'_blogtitle']=='true')? '':' class="indent"';
		?>
		<<?php echo $tmp;?>  id="blog_name"<?php echo $tmp2;?>><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></<?php echo $tmp;?>>
		<div id="blog_desc"<?php echo $tmp2;?>><?php bloginfo('description');?></div>
		<a href="<?php bloginfo('url'); ?>/" title="Home" class="home"></a>				<div id='menubar'>			<div id="access" role="navigation">				<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>			</div><!-- #access -->		</div>
		<a href="<?php echo (!empty($tpinfo[$tpinfo['prefix'].'_feedurl']))? $tpinfo[$tpinfo['prefix'].'_feedurl'] : bloginfo('rss2_url'); ?>" title="RSS Feed" class="rss"></a>
		<?php 
			if(!empty($tpinfo[$tpinfo['prefix'].'_twitter_username'])){
				echo '<a href="http://www.twitter.com/' . $tpinfo[$tpinfo['prefix'].'_twitter_username'].'" title="Follow me" class="twitter"></a>';
			}
		?>
	</div>
	<div id="container">